<!doctype html>
<html lang="en" class="login-content" data-ng-app="materialAdmin">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="Generator" content="EditPlus®">
    <meta name="Author" content="">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <title>登录-云氧社区</title>
    <link rel="shortcut icon" type="image/x-icon" href="/web/azrael/favicon.ico" />
    <!-- Vendor CSS -->
    <link href="/web/azrael/css/material-design-iconic-font/css/material-design-iconic-font.min.css" rel="stylesheet" type="text/css">
    <!-- CSS -->
    <link href="/web/azrael/css/app.min.1.css" rel="stylesheet" type="text/css">
</head>
<body class="login-content" data-ng-controller="loginCtrl as lctrl">

<div class="lc-block" id="l-login" data-ng-class="{'toggled':lctrl.login === 1}">
    <h1 class="lean">云氧社区</h1>
    <form name='login_sb' id="login_sb" action='/login' method='post'>
        {{csrf_field()}}
        <div class="input-group m-b-20">
    		<span class="input-group-addon">
    			<i class="zmdi zmdi-account"></i>
    		</span>
            <div class="fg-line">
                <input type="text" name="name" class="form-control" placeholder="用户名" regex="^\w{3,16}$"/>
            </div>
        </div>

        <div class="input-group m-b-20">
    		<span class="input-group-addon">
    			<i class="zmdi zmdi-male"></i>
    		</span>
            <div class="fg-line">
                <input type="password" name="password" class="form-control" placeholder="密码" regex="^\w+"/>
            </div>
        </div>

        <div class="clearfix">
                @if(count($errors))
                    @foreach($errors->all() as $error)
                        <span style="color: red;">{{$error}}</span>&nbsp;&nbsp;&nbsp;
                    @endforeach
                @endif
            </div>

        <div class="checkbox">
            <label>
                <input type="checkbox" name="is_remember" value="0" />
                <i class="input-helper">
                    保持登录状态
                </i>
            </label>
        </div>
        <a href="#" onclick="document.getElementById('login_sb').submit();return false"   class="btn btn-login btn-danger btn-float">
            <i class="zmdi zmdi-arrow-forward"></i>
        </a>
    </form>
</div>
</body>

<script src="/web/azrael/js/bower_components/jquery/dist/jquery.min.js"></script>
<script src="/web/azrael/js/log.js"></script>
<!-- Angular -->
<script src="/web/azrael/js/bower_components/angular/angular.min.js"></script>
<script src="/web/azrael/js/bower_components/angular-resource/angular-resource.min.js"></script>
<script src="/web/azrael/js/bower_components/angular-animate/angular-animate.min.js"></script>


<!-- Angular Modules -->
<script src="/web/azrael/js/bower_components/angular-ui-router/release/angular-ui-router.min.js"></script>
<script src="/web/azrael/js/bower_components/angular-loading-bar/src/loading-bar.js"></script>
<script src="/web/azrael/js/bower_components/oclazyload/dist/ocLazyLoad.min.js"></script>
<script src="/web/azrael/js/bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>

<!-- Common js -->
<script src="/web/azrael/js/bower_components/angular-nouislider/src/nouislider.min.js"></script>
<script src="/web/azrael/js/bower_components/ng-table/dist/ng-table.min.js"></script>

<!-- Placeholder for IE9 -->
<!--[if IE 9 ]>
<script src="/web/azrael/js/bower_components/jquery-placeholder/jquery.placeholder.min.js"></script>
<![endif]-->
<!-- App level -->
<script src="/web/azrael/js/app.js"></script>
<script src="/web/azrael/js/controllers/main.js"></script>
<script src="/web/azrael/js/controllers/ui-bootstrap.js"></script>


<!-- Template Modules -->
<script src="/web/azrael/js/modules/form.js"></script>
</html>